tmem: fix the return value of tmemc_set_var()
authorBob Liu <lliubbo@gmail.com>
Tue, 28 Jan 2014 04:28:30 +0000 (12:28 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 9 Apr 2014 13:18:08 +0000 (09:18 -0400)
commitb4db3b80e04a009ccd04551f5fe351d626796aab
treec66b1f5d66d95b71ca2089629632412e7e8e3947
parent1ff771d5fa9b98e8f3729d99154c7d9c1ebea904
tmem: fix the return value of tmemc_set_var()

tmemc_set_var() calls tmemc_set_var_one() but without taking its return value,
this patch fix this issue.
Also rename tmemc_set_var_one() to __tmemc_set_var().

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/tmem.c